package cc.mcggdd.leah.boot.stock.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.entity.StockBill;
import cc.mcggdd.leah.boot.stock.model.form.StockBillForm;

/**
 * 账单对象转换器
 *
 * @author 
 * @since 2025-02-10 14:57
 */
@Mapper(componentModel = "spring")
public interface StockBillConverter{

    StockBillForm toForm(StockBill entity);

    StockBill toEntity(StockBillForm formData);
}